package com.plian.system.entity.fa.nplcancelrecord;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * (CqzcNplcancelrecord)表实体类
 *
 * @author jiatp
 * @since 2023-03-31 09:34:22
 */
@Data
@ApiModel(value = "不良资产核销事前备案", description = "不良资产核销事前备案")
@TableName("cqzc_nplcancelrecord")
public class CqzcNplcancelrecord {

    /**
     * id
     */
    @ApiModelProperty(value = "id", required = true)
    private String id;

    /**
     * 创建单位id
     */
    @ApiModelProperty(value = "创建单位id", required = true)
    private String orgId;

    /**
     * 上报时间
     */
    @ApiModelProperty(value = "上报时间", required = true)
    private Date reportTime;

    /**
     * 单据唯一标识码
     */
    @ApiModelProperty(value = "单据唯一标识码", required = true)
    private String formType;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态", required = true)
    private String status;
    /**
     * 单据编号
     */
    @ApiModelProperty(value = "单据编号", required = true)
    private String code;

    /**
     * 备案编号
     */
    @ApiModelProperty(value = "备案编号", required = true)
    private String recordCode;

    /**
     * 年份
     */
    @ApiModelProperty(value = "年份", required = true)
    private String year;

    /**
     * 资产核销企业名称
     */
    @ApiModelProperty(value = "资产核销企业名称", required = true)
    private String cancelCompanyName;

    /**
     * 资产核销企业性质
     */
    @ApiModelProperty(value = "资产核销企业性质", required = true)
    private String cancelType;

    /**
     * 经济行为决策机构
     */
    @ApiModelProperty(value = "经济行为决策机构", required = true)
    private String institutions;

    /**
     * 批准文件日期
     */
    @ApiModelProperty(value = "批准文件日期", required = true)
    private String approvalDate;

    /**
     * 核销不良资产内容
     */
    @ApiModelProperty(value = "核销不良资产内容", required = true)
    private String cancelNote;

    /**
     * 核销不良资产总额币种
     */
    @ApiModelProperty(value = "核销不良资产总额币种", required = true)
    private String currency;

    /**
     * 金额
     */
    @ApiModelProperty(value = "金额", required = true)
    private Double amount;

    /**
     * 不良资产类型
     */
    @ApiModelProperty(value = "不良资产类型", required = true)
    private String nplType;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", required = true)
    private String remark;

    /**
     * 单据创建单位
     */
    @ApiModelProperty(value = "单据创建单位", required = true)
    private String createCompanyId;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", required = true)
    private String createUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人", required = true)
    private String updateUser;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", required = true)
    private Date updateTime;

    //资产核销企业id
    @ApiModelProperty(value = "资产核销企业id", required = true)
    private String reportCompanyId;

    @ApiModelProperty(value = "数据来源 null为系统填报 对应用户id")
    private String dataSource;
    /**
     * 数据来源id
     */
    @ApiModelProperty(value = "数据来源id", required = true)
    private String dataSourceId;

    /**
     * 附件
     */
    @TableField(exist = false)
    private List<HashMap> list_doc;

    /**
     * listSubliA
     */
    @TableField(exist = false)
    private List<CqzcNplcancelrecordsublia> listSubliA;
    /**
     * listSubliB
     */
    @TableField(exist = false)
    private List<CqzcNplcancelrecordsublib> listSubliB;
    /**
     * listSubliC
     */
    @TableField(exist = false)
    private List<CqzcNplcancelrecordsublic> listSubliC;

    @TableField(exist = false)
    @ApiModelProperty("附件ids")
    private String attachIds;

}

